home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1831 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  950 b 

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Using multiple functions in one file
  5. Date: 13 Jan 1996 03:25:12 GMT
  6. Organization: Pipeline USA
  7. Message-ID: <4d78mo$p8@news1.usa.pipeline.com>
  8. References: <4d6s3r$cd2@s3.iway.fr>
  9. NNTP-Posting-Host: pipe8.h1.usa.pipeline.com
  10. X-PipeUser: grantp
  11. X-PipeHub: usa.pipeline.com
  12. X-PipeGCOS: (Pete)
  13. X-Newsreader: Pipeline USA v3.3.0
  14.  
  15. On Jan 12, 1996 23:50:19 in article <Re: Using multiple functions in one
  16. file>, 'bertrand flahault <bflahaut@pratique.fr@pratique.fr>' wrote: 
  17.  
  18.  
  19. >Re: Using multiple functions in one file 
  20. >Hi, 
  21. >In C++ you have to declare each function you are using at the  
  22. >begining of your source code. 
  23.  
  24. Not exactly.  The requirement is that the compiler must have 
  25. "seen" the declaration -- and don't forget that definition itself 
  26. can serve as a declaration -- before the function/symbol is 
  27. referenced.  
  28.  
  29. -- 
  30.  
  31. Pete
  32.